//package com.demo.provider.controller;
//
//import com.demo.provider.service.DemoImp;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestParam;
//import org.springframework.web.bind.annotation.RestController;
//
///**
// * @author DINGJIE
// * @version V1.0
// * @Description:
// * @date 2018/5/7 下午1:41
// */
//@RestController
//public class AddController {
//    @Autowired
//    DemoImp demoImp;
//
//    @GetMapping(value = "add", produces = "application/json")
//    public int add(@RequestParam int a, @RequestParam int b) {
//        System.out.println("producer start..");
//        return demoImp.add(a, b);
//    }
//}
